#
# Be sure to run `pod lib lint QZHFramework.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'QZHFramework'
  s.version          = '0.1.0'
  s.summary          = 'QZHFramework 组件库'
  s.description      = <<-DESC
                        该工具包含网络请求、工具类，后续将会拓展
                       DESC

  s.homepage         = 'https://gitee.com/miyimi/QZHFramework.git'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'workwing' => '373662819@qq.com' }
  s.source           = { :git => 'https://gitee.com/miyimi/QZHFramework.git', :tag => s.version.to_s }

  s.ios.deployment_target = '8.0'

  s.dependency 'Masonry', '~> 1.1.0'
  s.dependency 'YYModel', '~> 1.0.4'
  s.dependency 'AFNetworking', '~> 3.2.1'

  s.public_header_files = 'QZHFramework/QZHFramework.h'
  s.source_files = 'QZHFramework/QZHFramework.h'
  
  s.subspec 'QZHNetworking' do |networking|
    networking.public_header_files = 'QZHFramework/QZHNetworking/**/*.{h}'
    networking.source_files = 'QZHFramework/QZHNetworking/**/*.{h,m}'
  end

  s.subspec 'QZHKit' do |kit|
    kit.public_header_files = 'QZHFramework/QZHKit/**/*.{h}'
    kit.source_files = 'QZHFramework/QZHKit/**/*.{h,m}'
  end

  s.subspec 'QZHTool' do |tool|
    tool.dependency 'QZHFramework/QZHNetworking'
    tool.public_header_files = 'QZHFramework/QZHTool/**/*.{h}'
    tool.source_files = 'QZHFramework/QZHTool/**/*.{h,m}'
  end

  s.subspec 'QZHExtension' do |extension|
    extension.public_header_files = 'QZHFramework/QZHExtension/**/*.{h}'
    extension.source_files = 'QZHFramework/QZHExtension/**/*.{h,m}'
  end

end
